// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_QUALITY_CHECKING
// * CreateDate    : 2011-10-25 10:44:41
// * Creater       : CodeSmith
// * LastChangeDate: 2011-10-25 10:44:41
// * LastChanger   : 2011-10-25 10:44:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdQualityCheckingTable : TableInfo
    {
		public const string C_TableName = "PROD_QUALITY_CHECKING";
		
		public const string C_QUALITY_CHECKING_ID = "QUALITY_CHECKING_ID";
		public const string C_REPORT_ID = "REPORT_ID";
		public const string C_PROCESS_TYPE = "PROCESS_TYPE";
		public const string C_NG_CODE = "NG_CODE";
		public const string C_CREATE_DATE = "CREATE_DATE";
		public const string C_CREATE_BY = "CREATE_BY";
		public const string C_APPROVED_DATE = "APPROVED_DATE";
		public const string C_APPROVED_BY = "APPROVED_BY";
		
		public ProdQualityCheckingTable()
        {
            _tableName = "PROD_QUALITY_CHECKING";
        }
		
		protected static ProdQualityCheckingTable _current;
        public static ProdQualityCheckingTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdQualityCheckingTable();

            _current.Add(C_QUALITY_CHECKING_ID, new ColumnInfo(C_QUALITY_CHECKING_ID,"QualityCheckingId", true, typeof(string)));
            _current.Add(C_REPORT_ID, new ColumnInfo(C_REPORT_ID,"ReportId", false, typeof(string)));
            _current.Add(C_PROCESS_TYPE, new ColumnInfo(C_PROCESS_TYPE,"ProcessType", false, typeof(string)));
            _current.Add(C_NG_CODE, new ColumnInfo(C_NG_CODE,"NgCode", false, typeof(string)));
            _current.Add(C_CREATE_DATE, new ColumnInfo(C_CREATE_DATE,"CreateDate", false, typeof(DateTime)));
            _current.Add(C_CREATE_BY, new ColumnInfo(C_CREATE_BY,"CreateBy", false, typeof(string)));
            _current.Add(C_APPROVED_DATE, new ColumnInfo(C_APPROVED_DATE,"ApprovedDate", false, typeof(DateTime)));
            _current.Add(C_APPROVED_BY, new ColumnInfo(C_APPROVED_BY,"ApprovedBy", false, typeof(string)));
			
		}
		
		public ColumnInfo QUALITY_CHECKING_ID
        {
            get { return this[C_QUALITY_CHECKING_ID]; }
        }
		
		public ColumnInfo REPORT_ID
        {
            get { return this[C_REPORT_ID]; }
        }
		
		public ColumnInfo PROCESS_TYPE
        {
            get { return this[C_PROCESS_TYPE]; }
        }
		
		public ColumnInfo NG_CODE
        {
            get { return this[C_NG_CODE]; }
        }
		
		public ColumnInfo CREATE_DATE
        {
            get { return this[C_CREATE_DATE]; }
        }
		
		public ColumnInfo CREATE_BY
        {
            get { return this[C_CREATE_BY]; }
        }
		
		public ColumnInfo APPROVED_DATE
        {
            get { return this[C_APPROVED_DATE]; }
        }
		
		public ColumnInfo APPROVED_BY
        {
            get { return this[C_APPROVED_BY]; }
        }
		
		
		
	}
}

